import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// import './registerServiceWorker'
import vant from 'vant'
import 'vant/lib/index.css'
import { get, post } from './axios/http'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import moment from 'moment'//导入文件 
import wx from 'weixin-js-sdk';
import VueJsonp from 'vue-jsonp'
import global from './Global'//引用文件
    Vue.prototype.global = global//挂载到Vue实例上面
Vue.use(VueJsonp)
Vue.prototype.wx = wx


Vue.prototype.$moment = moment;//赋值使用
Vue.use(ElementUI);

Vue.use(vant)
Vue.config.productionTip = false
Vue.prototype.$get = get;
Vue.prototype.$post = post;
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
